//
//  CountScrollView.h
//  FruitVIP
//
//  Created by 孙艳玲 on 15/6/30.
//  Copyright (c) 2015年 孙艳玲. All rights reserved.
//

#import <UIKit/UIKit.h>
//使用优惠券
@protocol selectCouponsDelegate <NSObject>

- (void)selectCoupons;

@end

//更改提货点
@protocol takeAddressDelegate <NSObject>

- (void)takeAddress;

@end

@interface CountScrollView : UIScrollView<UITextFieldDelegate>

- (instancetype)initWithFrame:(CGRect)frame :(NSString *)moneyText ;

@property(nonatomic, assign)BOOL firstSelected;
@property(nonatomic, assign)BOOL secondSelected;
@property(nonatomic, assign)BOOL thirdSelected;
@property(nonatomic, strong)UIButton *firstButton;
@property(nonatomic, strong)UIButton *secondButton;
@property(nonatomic, strong)UIButton *thirdButton;
@property(nonatomic, assign)id<selectCouponsDelegate>selectButton;
@property(nonatomic, assign)id<takeAddressDelegate>takeAddDelegate;

@property(nonatomic, strong)UITextField *nameText;
@property(nonatomic, strong)UITextField *phoneText;
@property(nonatomic, strong)UILabel *detailPayLabel;//提货信息
@property(nonatomic, strong)UILabel *thirdLine;
@property(nonatomic, strong)UITableView *couponsTab;
@property(nonatomic, assign)BOOL couponsSelected;//优惠券按钮的状态
@property(nonatomic, strong)UILabel *goodsLabel;//提货人
@property(nonatomic, strong)UILabel *takePay;//手机
@property(nonatomic, strong)UILabel *addLable;//提货点
@property(nonatomic, strong)UILabel *allPriceLabel;//总金额
@property(nonatomic, strong)UILabel *symbolLabel;//货币符号
@property(nonatomic, strong)UILabel *allMoneyLabel;//总价钱具体

@end
